﻿using System;
using System.Web.Mvc;
using Test.Entities;

namespace Test.Modules.Locations.Controllers
{
	[Authorize]
	public class AjaxController : Controller
	{
		[HttpGet]
		[ActionName("EditDomain")]
		public Domain AddDomain(Guid parentId)
		{
			return null;
		}

		[HttpPost]
		[ActionName("EditDomain")]
		public object AddDomain(Domain entity)
		{
			return null;
		}

		[HttpGet]
		public Domain EditDomain(Guid id)
		{
			return null;
		}

		[HttpPost]
		public object EditDomain(Domain entity)
		{
			return null;
		}

		[HttpGet]
		public ActionResult GetLocationsTreeView(Guid parentId)
		{
			return View();
		}
	}
}
